package com.zxj.schoolxianyu.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.sql.Date;

@Data
@TableName("message")
public class message {
    @TableId(type = IdType.AUTO)
    public Integer chatid;
    public Integer conversationid;
    public String fromusername;
    public String tousername;
    public String message;
    public Date chatedate;
}
